package com.scuec.tourismwebsite.service;

import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.FreeformPostComment;
import com.scuec.tourismwebsite.entity.PostComment;
import com.scuec.tourismwebsite.vo.Fcomment;

import java.util.List;

public interface FreeformPostCommentService {
    Integer deleteCommentById(Integer comment_id);
    Integer insertComment(FreeformPostComment freeformPostComment);
    List<Fcomment> findCommentByIdCo(Integer post_id, String comment_content);
    List<Fcomment> findCommentrById(Integer post_id);
    PageInfo<Fcomment> findFcommentPages(Integer post_id,Integer pageNum, Integer pageSize);
    PageInfo<Fcomment> findFcommentPage(Integer post_id,String comment_content,Integer pageNum, Integer pageSize);
}
